<include file='Admin/Tpl/Public/nav.html' />
<link rel="stylesheet" href="__PUBLIC__/Css/pagestyle.css"> 
<div class="page-content">
    <div class="container-fluid">
        <br/>
        <ol class="breadcrumb default square rsaquo sm">
            <li><a href="index.html"><i class="fa fa-home"></i></a></li>
            <li><a href="#fakelink">Teamin</a></li>
            <li class="active">学习百宝箱</li>
        </ol>

        <div class="the-box no-border">
        
            <div class="table-responsive div1 div_search">
                <table class="table table-th-block table-hover">
                    <thead>
                        <tr style="text-align:center">
                            <td style="text-align:center;width:60px">编号</td>
                            <td style="text-align:center;width:180px">标题</td>
                            <td style="text-align:center;width:80px">格式</td>
                            <td style="text-align:center;width:80px">大小(M)</td>
                            <td style="text-align:center;width:80px">频道</td>
                            <td style="text-align:center;width:180px">操作</td>
                        </tr>
                    </thead>
                    <tbody>
                        <volist name="rs.data" id="val"> 
                            <tr>                    
                                <td style='text-align:center;vertical-align:middle'>{$val.information_id}</td>
                                <td style='text-align:center;vertical-align:middle'>{$val.information_title}</td>
                                <td style='text-align:center;vertical-align:middle'>{$val.information_type}</td>
                                <td style='text-align:center;vertical-align:middle'>{$val.information_size}</td>
                                <td style='text-align:center;vertical-align:middle'>{$val.channel_name}</td>
                                <td style='text-align:center;vertical-align:middle'>
                                    <span class="save"><a href='javascript:void(0)' onclick="to_upt({$val.information_id})" title='Edit'>修改</a>
                                    </span>
                                    &nbsp;|&nbsp;  
                                    <span class="delete"><a href='javascript:void(0)' onclick='to_del({$val.information_id})' title='Delete'>删除</a></span>
                                </td>
                            </tr>
                        </volist>
                    </tbody>
                </table>
                <ul class="pagination success">{$rs.show}</ul>
            </div>

            <div class="table-responsive" id="hl"></div>

        </div>
    </div>
</div>
</div>
</body>
</html>
<script src="__PUBLIC__/assets/js/jquery.min.js"></script>
<script type="text/javascript">
$(".current").css({background:"#8CC152",color:"white"});
function to_del(a){
    if(confirm("确认删除?")){
        $.get('__URL__/del?information_id='+a,'',function(){window.location='__SELF__';},'json');  
    }
}
function to_upt(a){
    window.location='__URL__/to_update?information_id='+a;
   
}
</script>
